package com.dj.repository;


import com.dj.bean.EncounterBean;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface EncounterRespository extends JpaRepository<EncounterBean,String>,JpaSpecificationExecutor<EncounterBean> {

    List<EncounterBean> findByName(String name);

    List<EncounterBean> findByNameLike(String name);
}
